import { _decorator, Component, Node, tween, Vec3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('UIBase')
export abstract class UIBase extends Component {
    
    protected data:any;
    protected abstract setData(data:any)
    protected start(): void {
        // console.log('parent start...')
        //  tween().target(this.node)
        // .to(0, { scale: new Vec3(0, 0, 0) })
        // .to(1.0, { scale: new Vec3(1, 1, 0) })
        // .start()
    }
}


